package projorientado.anpr;

import projorientado.spi.GenericServiceProviderInterface;

public class PlateRecognizerProvider extends 
        GenericServiceProviderInterface<PlateRecognizer> {
        
    private static final PlateRecognizerProvider instance = new PlateRecognizerProvider();
    
    private PlateRecognizerProvider() {
        
    }
    
    public static PlateRecognizerProvider getInstance() {
        return instance;
    }
    
    public static PlateRecognizer getPlateRecognizer(String s) {
        return instance.getService(s);
    }
    
    public static PlateRecognizer getPlateRecognizer(String serviceName, String param) {
        return instance.getService(serviceName, param);
    }
}
